import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import 'amfe-flexible'
import '@/assets/css/reset.css'
import less from 'less'
Vue.use(less)
// 一次性引入vant组件
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
    // 导入router
import router from '@/router'
// 引入懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);
Vue.use(Lazyload, {
    lazyComponent: true,
   })
//挂载
const app = new Vue({
    render: h => h(App),
    //注入到实例中
    router
}).$mount('#app')